resources:
- name: _kuma:metrics:hijacker
  resource:
    '@type': type.googleapis.com/envoy.config.cluster.v3.Cluster
    altStatName: _kuma_metrics_hijacker
    connectTimeout: 5s
    loadAssignment:
      clusterName: _kuma:metrics:hijacker
      endpoints:
      - lbEndpoints:
        - endpoint:
            address:
              pipe:
                path: /tmp/kuma-metrics-backend-default.sock
    name: _kuma:metrics:hijacker
    type: STATIC
- name: _kuma:metrics:opentelemetry:collector
  resource:
    '@type': type.googleapis.com/envoy.config.cluster.v3.Cluster
    altStatName: _kuma_metrics_opentelemetry_collector
    connectTimeout: 5s
    dnsLookupFamily: V4_ONLY
    loadAssignment:
      clusterName: _kuma:metrics:opentelemetry:collector
      endpoints:
      - lbEndpoints:
        - endpoint:
            address:
              socketAddress:
                address: otel-collector.observability.svc
                portValue: 4317
    name: _kuma:metrics:opentelemetry:collector
    type: STRICT_DNS
    typedExtensionProtocolOptions:
      envoy.extensions.upstreams.http.v3.HttpProtocolOptions:
        '@type': type.googleapis.com/envoy.extensions.upstreams.http.v3.HttpProtocolOptions
        explicitHttpConfig:
          http2ProtocolOptions: {}
